package com.adtech.adms.commons.web.action;

import java.util.List;
import java.util.UUID;

/**
 * 
 * 
 * @author 李源 
 * @since 2012-7-16 
 * 
 * @Copyright (C) AD Tech Workshop All Right Reserved
 */
public class PagingResult {

	private int total = 0;
	private List<?> rows;
	private int currentPage;
	private int totalPage;
	public String getAid() {
		return UUID.randomUUID().toString();
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public List<?> getRows() {
		return rows;
	}

	public void setRows(List<?> rows) {
		this.rows = rows;
	}

	public int getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}

	public int getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}




}
